package com.example.accessingdatajpa.service;

import com.example.accessingdatajpa.pojo.FirstPage;
import com.example.accessingdatajpa.response.RestResponse;

import javax.transaction.Transactional;
import java.util.List;

public interface IFirstPageService {
    @Transactional
    RestResponse<List<FirstPage>> queryAllFirstPicUrl();

    @Transactional
    RestResponse<String> addOnePicUrl(FirstPage firstPage);
}
